# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=sigrok-cli
pkgver=0.7.2
pkgrel=0
pkgdesc="A command-line frontend for sigrok"
url="https://sigrok.org/wiki/Sigrok-cli"
makedepends="libserialport-dev libsigrok-dev libsigrokdecode-dev"
arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
5862aa11a586ebb3acf9bffd1d2686cb5b3c3622b436080e05e2fc826a4814cf4746f128c01764f8dc664c5fc1a1e8c6ef66e548770278cc6ea99353d2173143  sigrok-cli-0.7.2.tar.gz
"
